package lion.json.handlers;

import java.io.IOException;
import java.io.Writer;

import lion.json.IJsonHandler;

/**
 * @author lion
 * @mail hl_0074@sina.com
 * @date 2011-9-27
 */
public class NumberHandler implements IJsonHandler {

	@Override
	public void handle(Object o, Writer writer) throws IOException {

		Number n = (Number) o;

		writer.write(n.toString());
	}
}
